home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1148.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.4 KB  |  105 lines

  1. 39
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. MultiDisplayInfo 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baMultiDisplayInfo returns information about the screens.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baMultiDisplayInfo( Monitor, InfoType )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, string. 
  36. --- RECORDSEPARATOR ---
  37. Monitor is the monitor to get the information of; eg "\\.\DISPLAY1". You can also 
  38. --- RECORDSEPARATOR ---
  39. use "primary" to get the primary display, or "secondary" to get the secondary 
  40. --- RECORDSEPARATOR ---
  41. display. 
  42. --- RECORDSEPARATOR ---
  43. InfoType is the type of information to get. Can be: 
  44. --- RECORDSEPARATOR ---
  45. "height" 
  46. --- RECORDSEPARATOR ---
  47. the height of the screen in pixels 
  48. --- RECORDSEPARATOR ---
  49. "width" 
  50. --- RECORDSEPARATOR ---
  51. the width of the screen i
  52. --- RECORDSEPARATOR ---
  53. n pixels 
  54. --- RECORDSEPARATOR ---
  55. "depth" 
  56. --- RECORDSEPARATOR ---
  57. the colour depth of the screen in bits 
  58. --- RECORDSEPARATOR ---
  59. "refresh" 
  60. --- RECORDSEPARATOR ---
  61. the current refresh frequency of the display adaptor 
  62. --- RECORDSEPARATOR ---
  63. "xpos", "ypos" 
  64. --- RECORDSEPARATOR ---
  65. the x and y position of the monitor in relation to the primary monitor 
  66. --- RECORDSEPARATOR ---
  67. "number" 
  68. --- RECORDSEPARATOR ---
  69. the number of monitors in the system. The Monitor is ignored 
  70. --- RECORDSEPARATOR ---
  71. "primary" 
  72. --- RECORDSEPARATOR ---
  73. the name of the primary display. The Monitor is ignored 
  74. --- RECORDSEPARATOR ---
  75. "secondary" 
  76. --- RECORDSEPARATOR ---
  77. the name of the secondary display. The Monitor is ignored 
  78. --- RECORDSEPARATOR ---
  79. "card" 
  80. --- RECORDSEPARATOR ---
  81. the name of the card powering the monitor.
  82. --- RECORDSEPARATOR ---
  83.  
  84. --- RECORDSEPARATOR ---
  85. Returns:
  86. --- RECORDSEPARATOR ---
  87.  
  88. --- RECORDSEPARATOR ---
  89. String. 
  90. --- RECORDSEPARATOR ---
  91. Returns the information requested, or an empty string if unsuccessful.
  92. --- RECORDSEPARATOR ---
  93.  
  94. --- RECORDSEPARATOR ---
  95. Examples:
  96. --- RECORDSEPARATOR ---
  97.  
  98. --- RECORDSEPARATOR ---
  99. Director: 
  100. --- RECORDSEPARATOR ---
  101. ScrHgt = baMultiDisplayInfo( "primary", "height" ) 
  102. --- RECORDSEPARATOR ---
  103. Authorware: 
  104. --- RECORDSEPARATOR ---
  105. monitors := baMultiDisplayInfo( "", "number" )